<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分页插件</title>
    <link rel="stylesheet" href="ces.css"/>
    <link rel="stylesheet" href="jquery-paging.css">
</head>
<body>

<table class="table">
    <thead>
    <tr>
        <th>ID</th>
        <th>用户名</th>
        <th>密码</th>
        <th>年龄</th>
    </tr>
    </thead>
    <tbody>

    </tbody>

</table>

<div id="div"></div>
</body>
<script type="text/javascript" src="jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="jquery-paging.js"></script>
<script type="text/javascript" >
    $('#div').paging({
        url: './page.json',
        pageData: 2,
        pageStep: 10
    });
</script>
</html>